<template>
    <div>
        {{msg}}
        <ul>
            <li v-for="(item,idx) in list" :key="idx">
                {{item.title}}
            </li>
        </ul>
    </div>
</template>

<script>
export default {
    data () {
        return {
            msg: 'this is home'
        }
    },
    computed: {
        list () {
            return this.$store.state.list
        }
    },
    asyncData ({ store }) {
        return store.dispatch('TEST_LIST')
    }
}
</script>

